//
//  ViewController.m
//  06-轮播图
//
//  Created by dllo on 16/7/21.
//  Copyright © 2016年 LST. All rights reserved.
//

#import "ViewController.h"
#import "LSTCycleImages.h"
#define BOUND [UIScreen mainScreen].bounds
#define WIDTH [UIScreen mainScreen].bounds.size.width
#define HEIGHT [UIScreen mainScreen].bounds.size.height
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
      NSArray *arr = [NSArray arrayWithObjects:@"0.jpg", @"1.jpg", @"2.jpg", @"3.jpg", @"4.jpg", nil];
    
    LSTCycleImages *cycle = [[LSTCycleImages alloc] initWithFrame:CGRectMake(0, 0, WIDTH, 200)];
   // cycle.scrollView.showsHorizontalScrollIndicator = YES;
    [cycle setImagesWithArray:arr];
    [self.view addSubview:cycle];
  
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end









